import requests

resp = requests.post(
    url='http://httpbin.org/post',
    data={'name': 'Hao', 'age': 40}
)
print(resp.text)
